define(['text!evaluate/guarantee.html'],
	function(viewTemplate) {
		return Piece.View.extend({
			id: 'evaluate_guarantee',
			events: {
				"click .gotoGuarantee": "gotoGuarantee",
			},
			render: function() {
				$(this.el).html(viewTemplate);

				Piece.View.prototype.render.call(this);
				return this;
			},
			onShow: function() {
				//write your business logic here :)
			},
			gotoGuarantee:function(){
				this.container.navigateForResult('/evaluate/guaranteeCard', {
					trigger: true
				}, 'evaluate/guarantee', this.onGotResult);
			}

		}); //view define

	});